package com.sstir.doctor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hanjunjun
 * @since 2021-01-15
 */
@TableName("que_list")
@Getter
@Setter
public class QueListEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题目ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 题目类型1机构2基金3疾病分类4论文5统计信息6专利
     */
    private String queType;

    /**
     * 题目名
     */
    private String queName;

    /**
     * 选项A
     */
    private String ansA;

    /**
     * 选项B
     */
    private String ansB;

    /**
     * 选项C
     */
    private String ansC;

    /**
     * 选项D
     */
    private String ansD;

    /**
     * 正确答案:abcd
     */
    private String ansReal;

    /**
     * 创建时间
     */
    private LocalDateTime insertTime;


    @Override
    public String toString() {
        return "QueList{" +
            "id=" + id +
            ", queName=" + queName +
            ", ansA=" + ansA +
            ", ansB=" + ansB +
            ", ansC=" + ansC +
            ", ansD=" + ansD +
            ", ansReal=" + ansReal +
            ", insertTime=" + insertTime +
        "}";
    }
}
